package com.gjs.cd.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gjs.cd.pojo.dto.YearSubjectCodeReq;
import com.gjs.cd.pojo.vo.YearSubjectCodeVo;
import com.gjs.cd.pojo.entity.CdYearSubjectCode;
import com.gjs.common.pojo.dto.request.PageQuery;

import java.util.List;

/**
 * @author zhongwenguang
 * @date 2022-3-11 14:57
 */
public interface ICdYearSubjectCodeService extends IService<CdYearSubjectCode> {
    IPage<YearSubjectCodeVo> getList(PageQuery pageQuery, YearSubjectCodeReq yearSubjectCodeReq);

    Wrapper<CdYearSubjectCode> buildWrapper(YearSubjectCodeReq req);

    List<CdYearSubjectCode> getCodeList();
}
